Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] "Manipulating States and Operators" and "Tensor Products and Partial Traces" #223

Merged
merged 7 commits into from
Sep 17, 2024

Conversation

ytdHuang
Copy link
Member

@ytdHuang ytdHuang commented Sep 15, 2024

Summary of this PR:

  • finish documentation section: Manipulating States and Operators
  • finish documentation section: Tensor Products and Partial Traces
  • move documentation section: The Importance of Type-Stability from Users Guide to Getting Started.
  • add extended methods for expect and variance: allowing users to input a list (vector) of states
  • add extended methods for tensor and kron: allowing users to input single QuantumObject or a Vector{QuantumObject} (but give a warning message regarding to type-instabilities) This part is also done in Fix ptrace and add extended methods for tensor and kron #224, therefore this PR need to wait after it is merged.

Copy link

codecov bot commented Sep 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.85%. Comparing base (3f2eaab) to head (c619379).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
- Coverage   94.67%   93.85%   -0.83%     
==========================================
  Files          30       30              
  Lines        2124     2131       +7     
==========================================
- Hits         2011     2000      -11     
- Misses        113      131      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ytdHuang ytdHuang changed the title [Docs] Manipulating States and Operators [Docs] "Manipulating States and Operators" and "Tensor Products and Partial Traces" Sep 15, 2024
@ytdHuang ytdHuang removed the request for review from albertomercurio September 16, 2024 13:33
Copy link
Member

@albertomercurio albertomercurio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to put the hat on all the operators. Sorry to haven’t precise this before. If you don’t have time, don’t worry, I will change it later. You can merge it for me.

@ytdHuang ytdHuang merged commit b40c82c into qutip:main Sep 17, 2024
9 of 10 checks passed
@ytdHuang ytdHuang deleted the doc/state-and-op branch September 17, 2024 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants